<?php
	$action = $_GET['action'];
	if($action=='del_img'){
		$imagepath = $_POST['imagepath'];
		if(!empty($imagepath)){
			unlink($imagepath);
			echo '1';
		}else {echo '图片删除失败';}
	}


?>

